Assessment of C++ object-oriented mutation operators: A selective mutation approach
نویسندگان
چکیده
Mutation testing is an effective but costly testing technique. Several studies have observed that some mutants can be redundant and therefore removed without affecting its effectiveness. Similarly, some mutants may be more effective than others in guiding the tester on the creation of high-quality test cases. Based on these findings, we present an assessment of C++ class mutation operators by classifying them into two rankings: the first ranking sorts the operators based on their degree of redundancy, and the second regarding the quality of the tests they help to design. Both rankings are used in a selective mutation study analysing the trade-off between the reduction achieved and the effectiveness when using a subset of mutants. Experimental results consistently show that leveraging the operators at the top of the two rankings, which are different, lead to a significant reduction in the number of mutants with a minimum loss of effectiveness. Copyright © 0000 John Wiley & Sons, Ltd.
منابع مشابه
Classification of Advanced Mutation Operators of C# Language
Mutation testing can be used to evaluate the quality of test suites and support generating of test cases. Faults injected in mutation testing are defined by mutation operators. Mutation testing is a laborious approach; therefore selection of good mutation operators is of high importance. In this chapter the experimental and analytical investigation on object-oriented and other advanced mutation...
متن کاملSTRUCTURAL OPTIMIZATION USING A MUTATION-BASED GENETIC ALGORITHM
The present study is an attempt to propose a mutation-based real-coded genetic algorithm (MBRCGA) for sizing and layout optimization of planar and spatial truss structures. The Gaussian mutation operator is used to create the reproduction operators. An adaptive tournament selection mechanism in combination with adaptive Gaussian mutation operators are proposed to achieve an effective search in ...
متن کاملDNA Sequence Fragment Containing C to A Mutation as a Convenient Mutation Standard for DHPLC Analysis
Objective(s): Denaturing high performance liquid chromatography (DHPLC) is a high throughput approach for screening DNA sequence variations. To assess oven calibration, cartridge performance, buffer composition and stability, the WAVE Low and High Range Mutation Standards are employed to ensure reproducibility and accuracy of the chromatographic analysis. The purpose of this study was to provi...
متن کاملObject-Oriented Mutation to Asses the Quality of Tests
The quality of a test suite can be measured using mutation analysis. Groups of OO mutation operators are proposed for testing object-oriented features. The OO operators applied to UML specification and C++ code are illustrated by an example. Experimental results demonstrate effectiveness of different mutation operators and the reduction of functional test suite.
متن کاملAssessing Test Set Adequacy for Object-Oriented Programs Using Class Mutation
The object-oriented paradigm has seen widespread acceptance by the software development community but the testing of programs written in object oriented languages is less well developed than the testing of programs written in conventional ones. This paper introduces Class Mutation which is a form of OO-directed selective mutation testing that provides a means of assessing how good developed tes...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Softw. Test., Verif. Reliab.
دوره 27 شماره
صفحات -
تاریخ انتشار 2017